class CommApiExp extends Error {
  private code: number
  constructor(code: number, msg: string) {
    super()
    super.name = CommApiExp.name
    super.message = msg
    this.code = code
  }
}
export const SystemExpBuilder = {
  buildCommApiExp(code: number, msg: string): Error {
    return new CommApiExp(code, msg)
  },
}
